﻿{extend name="public:base" /}

{block name="content"}
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-content">
                    <div class="row search-form">
                        <div class="col-sm-2 m-b-sm">
                            <div class="input-group">
                                <select name="type" class="form-control">
                                    <option value="0">全部</option>
                                    <option value="1" {:input('type') == 1 ? 'selected' : ''}>消费收益</option>
                                    <option value="2" {:input('type') == 2 ? 'selected' : ''}>绩效收益</option>
                                    <option value="3" {:input('type') == 3 ? 'selected' : ''}>服务津贴</option>
                                    <option value="6" {:input('type') == 6 ? 'selected' : ''}>销售奖励</option>
                                    <option value="7" {:input('type') == 7 ? 'selected' : ''}>退休基金</option>
                                    <option value="9" {:input('type') == 9 ? 'selected' : ''}>门店区域补贴</option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-2 m-b-sm">
                            <div class="input-group">
                                <button type="button" class="btn btn-primary btn-lg screen-btn">搜索</button>
                                <button type="button" class="btn btn-primary btn-lg excel-btn">导出</button>
                            </div>
                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>
                    <div class="table-responsive">
                        <table class="table table-striped">
                            <tr>
                                <th>用户昵称</th>
                                <th>手机号</th>
                                <th>奖励名称</th>
                                <th>奖金金额</th>
                                <th>时间</th>
                                <th>说明</th>
                            </tr>
                            {volist name="list" id="vo"}
                            <tr>
                                <td>{$vo.username}</td>
                                <td>{$vo.mobile}</td>
                                <td>{$vo.type_desc}</td>
                                <td>{$vo.price}</td>
                                <td>{$vo.create_time}</td>
                                <td>{$vo.desc}</td>
                            </tr>
                            {/volist}
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}